/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: hp
 * Date: 2024-03-01
 * Time: 14:23
 */
class A {
    public int a = 1;
    public int b = 2;
}

class B extends A{
    public int a = 100;
    public void func() {
        System.out.println(a);
        System.out.println(this.a);
        System.out.println(super.a);
    }
}

public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog();

    }

    /*public static void main1(String[] args) {
        B b = new B();
        b.func();
    }*/
}
